package com.fan.share.themes.classic.land;


import com.fan.share.themes.OnekeyShareThemeImpl;
import com.fan.share.themes.classic.PlatformPage;
import com.fan.share.themes.classic.PlatformPageAdapter;

import java.util.ArrayList;


/**
 * 横屏的九宫格页面
 */
public class PlatformPageLand extends PlatformPage {

    public PlatformPageLand ( OnekeyShareThemeImpl impl ) {
        super( impl );
    }

    @Override
    public void onCreate () {
        requestLandscapeOrientation();
        super.onCreate();
    }

    @Override
    protected PlatformPageAdapter newAdapter ( ArrayList< Object > cells ) {
        return new PlatformPageAdapterLand( this, cells );
    }

}

